package com.baizhi.cmfz.dao;

import com.baizhi.cmfz.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BannerDao {
    List<Banner> selectBanner(int offset, int limit);

    int selectCoent();

    int addBanner(Banner banner);

    int deleteBanner(int bannerId);

    Banner selectOne(int bannerId);

    int updateBanner(Banner banner);

    List<Banner> selectBannerByCount(int count);
}
